package example.proxy;

public enum FGCN {
    FGCN1("西游记", "吴承恩"),
    FGCN2("红楼梦", "曹雪芹"),
    FGCN3("水浒传", "施耐庵"),
    FGCN4("三国演义", "罗贯中");
    private String name;
    private String desc;
    FGCN(String name,String desc){
        this.name = name;
        this.desc = desc;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getDesc() {
        return desc;
    }
    public void setDesc(String desc) {
        this.desc = desc;
    }
}
class Test{
    public static void main(String[] args) {
        FGCN FGCN1 = FGCN.FGCN1;
        System.out.println(FGCN1.getName());
        System.out.println(FGCN1.getDesc());

    }
}